#include <iostream>
using namespace std;
int n, k;
int a[105];
int main(){
	cin >> n >> k;
	int ans = 0;
	for (int i = 0; i < n; i++){
		 cin >> a[i];
		 if (a[i] >= k) ans++;
	}
	cout << ans << endl;

    return 0;
}


